import instance from "@/tools/axios";

// 添加线下客户跟进
const addFollowOfflineCustomers = async (data: any): Promise<ResponseApiDto> => {
    return instance.post("/FollowOfflineCustomers/Add", data);
};
// 删除线下客户跟进
const deleteFollowOfflineCustomers = async (data: any): Promise<ResponseApiDto> => {
    return instance.post("/FollowOfflineCustomers/Delete", data);
};
// 修改线下客户跟进
const updateFollowOfflineCustomers = async (data: any): Promise<ResponseApiDto> => {
    return instance.post("/FollowOfflineCustomers/Update", data);
};
// 跟进的编号
const getFollowOfflineCustomersid = async (params: any): Promise<ResponseApiDto> => {
    return instance.get("/FollowOfflineCustomers/GetFollowOfflineCustomersid", params);
};
// 客户跟进的编号
const getFollowOfflineCustomerid = async (params: any): Promise<ResponseApiDto> => {
    return instance.get("/FollowOfflineCustomers/GetFollowOfflineCustomerid", params);
};
export { 
    addFollowOfflineCustomers,
    deleteFollowOfflineCustomers,
    updateFollowOfflineCustomers,
    getFollowOfflineCustomersid,
    getFollowOfflineCustomerid 
};